Carbon


WindowClass

Header: MacWindows.h

enum WindowClass {
    kAlertWindowClass = 1,
    kMovableAlertWindowClass = 2,
    kModalWindowClass = 3,
    kMovableModalWindowClass = 4,
    kFloatingWindowClass = 5,
    kDocumentWindowClass = 6,
    kDesktopWindowClass = 7,
    kAllWindowClasses = -1
};

Constant descriptions

kAlertWindowClass

Identifies an alert box window.

kMovableAlertWindowClass

Identifies a movable alert box window.

kModalWindowClass

Identifies a modal dialog box window.

kMovableModalWindowClass

Identifies a movable modal dialog box window.

kFloatingWindowClass

Identifies a window that floats above all document windows. If your application assigns this constant to a window and calls the function InitFloatingWindows, the Window Manager ensures that the window has the proper floating behavior. Supported with Mac OS 8.6 and later.

kDocumentWindowClass

Identifies a document window or modeless dialog box window. The Window Manager assigns this class to pre–Mac OS 8.5 Window Manager windows.

kDesktopWindowClass
kAllWindowClasses


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)